<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>提示信息</title>
<include file="Common:head"/>
<style type="text/css">
 body{background:#ECF0F5; }
</style>
</head>
<body  class="skin-blue">
    <div style="margin: 0px auto;width: 700px;margin-top: 60px">
        <div class="content">
            <div class="row">
                    <div class="box box-primary" >
                        <div class="box-header with-border">
                            <h3 class="box-title">提示信息</h3>
                        </div><!-- /.box-header -->
                        <div class="box-body" style="display: block;">
                            <present name="message">
                                <p class="success">{$message}</p>
                                <else/>
                                <p class="error">{$error}</p>
                            </present>
                            <p style="font-size:12px">
                                页面自动<a id="href" href="{$jumpUrl}"> <button class="btn btn-primary" type="button" onclick="next()">跳转</button></a> 等待时间： <b id="wait">{$waitSecond}</b>
                            </p>
                        </div><!-- ./box-body -->
                    </div><!-- /.box -->
            </div>
        </div>
    </div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>
</body>
</html>